interface Book {
    key: string;
    name: string;
    createTime: string;
    updateTime: string;
    author: string,
    description?: string,
    /**图书格式 pdf txt */
    format: string, 
    size: number,
    cover?: string,
    page?: number,
    path?: string,
    publisher?: string,
    
}
interface RecordLocation{
    chapterDocIndex:number,
    chapterHref?:string,
    chapterTitle?:string,
    count?:number,
    page?:number,
    percentage:string,
    text?:string,
}

interface BookInfoAndReadRecord {
    name: string,
    key: string,
    cover?: string,
    format: string,
    percentage: string,
}

export enum menuTypeEnum {
    All,
    Favorite,
    Shelf,
    RecycleBin
}
export type {
    Book,
    RecordLocation,
    BookInfoAndReadRecord
}